package com.bitao.system.service.question;

import com.bitao.system.domain.question.dto.QuestionEditDTO;
import com.bitao.system.domain.question.dto.QuestionQueryDTO;
import com.bitao.system.domain.question.dto.QuestionAddDTO;
import com.bitao.system.domain.question.vo.QuestionDataVO;
import com.bitao.system.domain.question.vo.QuestionVO;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * Author:  LiuTao
 * Version: 1.0
 * Date:    2025-05-27  17:47
 */
public interface IQuestionService {
    List<QuestionVO> list(QuestionQueryDTO questionQueryDTO);

    boolean add(QuestionAddDTO questionAddDTO);

    QuestionDataVO detail(Long questionId);

    int edit(QuestionEditDTO questionEditDTO);

    int delete(Long questionId);
}

